<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" />
<meta name="description" content="安装通（azt365.com）中国大型的b2b电子商务智慧化平台,整合了国内安装行业内采购商与供应商,打通上下游产业链,信息透明共享,通过云平台,大数据,为各大企业供应商提供产品信息、企业推广,为您提供全面的安装行业资讯金融服务以及线上支付.">
<meta name="keywords" content="安装通,azt365,江苏b2b电子商务,江苏建筑采供批发平台,江苏弱电批发,江苏消防报警系统,江苏智慧安装建筑安装,江苏安防监控系统,江苏通风设备安装,江苏通风工程安装,江苏通风工程施工,江苏消防工程材料批发,江苏消防工程材料">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<title>新闻资讯列表</title>
<link href="/res/css/respective/info/info.css" rel="stylesheet"> 
</head> 
<body>
	 [#include "/front/common/front_head.html"]
	 <div class="infoOuter" style="margin-top: 80px;">
	 	<div class="w1200">
	 		<div class="left">
	 			<div class="bread"> 
	 				<strong>当前位置：</strong>
	 				<a href="/index" target="_blank">首页</a> <span>&gt;</span> <a href="/content/list/${channel.id!}">${channel.channelName!}</a>
	 			</div> 
	 			<div class="iterm3"> 
	 				<ul class="list">
	 					[#list contentPage.list as content]
	 					<li> 
	 						<div class="list">
	 							<a href="/content/detail/${content.id!}"><h3 class="egt bold 444">${content.title!}</h3></a>
	 							<small>
		 							<a href="/content/detail/${content.id!}" ><small style="display: inline;">
		 							[@content_cut content = ((content.content?replace("<.*?>","","r"))?replace("&nbsp;","")!)?html len =  100 /]
		 							</small></a>
		 							<a href="/content/detail/${content.id!}" >[阅读全文]</a>
	 							</small>
	 							<small class="time">
	 								浏览：${content.hit!}   <span style="margin: 0px 10px;font-size: 12px;vertical-align: top;">|</span> 发布时间：${(content.createtime?string("yyyy-MM-dd HH:mm"))!}
	 							</small>
	 						</div>
	 					</li>
	 					[/#list]
	 				</ul>
	 			</div>
	 			 <div id="page"></div> 
	 		</div>
	 		[#include "/front/info/infoRight.html"]
	 	</div>
	 </div>
	 [#include "/front/common/front_foot.html"]
</body>
<script type="text/javascript" src="/res/js/common/jquery.1.9.1.min.js"></script>
<script type="text/javascript" src="/res/third/layer/layer.js"></script>
<script src="/res/js/common/jquery.ellipsis.js"></script>
<script type="text/javascript" src="/res/third/laypage/laypage.js"></script>
<script type="text/javascript">
laypage.dir = '/res/third/laypage/skin/aztpage.css'; 
var channelId='${so_channelId!}';
	$(function() {
		//显示分页
		laypage({
			cont : 'page',
			pages : '${contentPage.totalPage!}',
			first : '1',
			last : '${contentPage.totalPage!}',
			jump: function(obj, first){
				  if(!first){
					  	if(channelId==''){
					  		layer.alert("数据出错");
					  		return false;
					  	}
					  	var layerIndex;
						$.ajax({
					        url : '/content/contentListPage',
					        type : 'post',
					        data:{pageIndex:obj.curr,channelId:channelId},
							beforeSend : function () {
								layerIndex = layer.load(1, {
									  shade: [0.1,'#fff'] 
									});
					        },
					        success : function(data) {
					        	 if(data){
					            	 $(".iterm3").children().remove();
					            	 $(".iterm3").append(data);
					             }else{
					            	 layer.alert("数据错误");
					             }
					        },
							complete : function() {
								layer.close(layerIndex);
							}
					    })
				   }
				}
		});
		//$(".left .iterm3 ul.list li>div small small").ellipsis({maxWidth:600,maxLine:2}); 
		//$(".right .topRead li small").ellipsis({maxWidth:230,maxLine:1});  
		//$(".right .zhanHui.small .intro small").ellipsis({maxWidth:146,maxLine:2});  
	})
</script>
</html>
